﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Menu_Item_Project
{
    class Beverage:MenuItem
    {
        private int SmallPrice { get; set; }
        private int MediumPrice { get; set; }
        private int LargePrice { get; set; }
        private string Name { get; set; }


        public Beverage( int small, int medium, int large, string name  ) : base(name)
            {
            SmallPrice = small;
            MediumPrice = medium;
            LargePrice = large;
            Name = name;
            }

            override public void PrinttoConsole()
             {
                Console.WriteLine("{0}  -  small- {1} $; medium-{2} $; large-{3} $; ", Name, SmallPrice, MediumPrice, LargePrice);
            }

         


    }
}
